.class Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;
.super Ljava/lang/Object;
.source "ViewImage21.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->A()Les/cm;

    move-result-object p1

    if-eqz p1, :cond_3

    .line 2
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/android/statistics/b;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/android/statistics/b;

    move-result-object v0

    const-string v1, "Search_Wan"

    invoke-virtual {v0, v1}, Lcom/estrongs/android/statistics/b;->b(Ljava/lang/String;)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->e(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/android/statistics/b;

    move-result-object v0

    const-string v1, "Search_Wan_UV"

    invoke-virtual {v0, v1}, Lcom/estrongs/android/statistics/b;->a(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 5
    :catch_0
    :cond_0
    :try_start_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    const-string v1, "image"

    invoke-interface {p1}, Les/cm;->getTitle()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->z(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-static {v0, v1, p1}, Lcom/estrongs/android/pop/utils/w;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Lcom/estrongs/android/pop/utils/w$c;

    move-result-object p1

    if-nez p1, :cond_1

    return-void

    .line 6
    :cond_1
    iget-object v0, p1, Lcom/estrongs/android/pop/utils/w$c;->b:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/pop/utils/w;->a(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-virtual {p1}, Landroid/app/Activity;->finish()V

    return-void

    .line 8
    :cond_2
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    const-class v2, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/high16 v1, 0x24000000

    .line 9
    invoke-virtual {v0, v1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 10
    iget-object p1, p1, Lcom/estrongs/android/pop/utils/w$c;->a:Ljava/lang/String;

    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$c;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-virtual {p1, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    :catch_1
    :cond_3
    return-void
.end method
